﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Management;

namespace Rail.Commons
{
    public class ParameterHelper
    {
        /// <summary>
        /// 构建Python输入参数
        /// </summary>
        /// <param name="paramStrings"></param>
        /// <returns></returns>
        public static string CreateParameter(params string[] paramStrings)
        {
            string result = string.Empty;
            if (paramStrings != null)
            {
                foreach (string paramString in paramStrings)
                {
                    result += string.Format("\"{0}\" ", paramString);
                    //result += paramString +" ";
                }
            }
            return result.TrimEnd();
        }
    }
}
